Ready, <tt>Set</tt>, Verify! Applying <tt>hs-to-coq</tt> to real-world Haskell code

نویسندگان

چکیده

Abstract Good tools can bring mechanical verification to programs written in mainstream functional languages. We use hs-to-coq translate significant portions of Haskell’s containers library into Coq, and verify it against specifications that we derive from a variety sources including type class laws, the library’s test suite, interfaces Coq’s standard library. Our work shows is feasible mature, widely used, highly optimized, unmodified Haskell code. also learn more about theory weight-balanced trees, extend handle partiality, – since found no bugs attest superb quality well-tested

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Real world Haskell - code you can believe in

Preparing the books to read every day is enjoyable for many people. However, there are still many people who also don't like reading. This is a problem. But, when you can support others to start reading, it will be better. One of the books that can be recommended for new readers is real world haskell code you can believe in bryan osullivan. This book is not kind of difficult book to read. It ca...

متن کامل

Applying Supervised Learning to Real-World Problems

The last years have seen machine learning methods applied to an increasing variety of application problems such as: language, handwriting and speech processing , document classification, knowledge discovery in databases, industrial process control and diagnosis, fraud and intrusion detection, image analysis and many others. Our work starts from the realization that most of these problems requir...

متن کامل

Applying Genetic Algorithms to Real - World Problems

This paper outlines what the author perceives as crucial ingredients of a successful application of Genetic Algorithms (gas) to real-world combinatorial problems. First, the importance of the Schema Theorem is stressed, pointing to crossover as the most potent force in a ga. Second, the importance of an encoding and operators adapted to the problem being solved is demonstrated, with two implica...

متن کامل

Ready, Set, Verify!

Good tools can bring mechanical verification to programs written in mainstream functional languages. We use hs-to-coq to translate significant portions of Haskell’s containers library into Coq, and verify it against specifications that we derive from a variety of sources including type class laws, the library’s test suite, and interfaces from Coq’s standard library. Our work shows that it is fe...

متن کامل

Applying Strategic Multiagent Planning to Real-World Travel Sharing Problems

Travel sharing, i.e., the problem of finding parts of routes which can be shared by several travellers with different points of departure and destinations, is a complex multiagent problem that requires taking into account individual agents’ preferences to come up with mutually acceptable joint plans. In this paper, we apply state-of-the-art planning techniques to real-world public transportatio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Journal of Functional Programming

سال: 2021

ISSN: ['0956-7968', '1469-7653']

DOI: https://doi.org/10.1017/s0956796820000283